package cn.gok.common.entity.customer;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author: shikundai
 * @Time: 2020/10/10  14:08
 * @description: 顾客登录信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("c_login")
public class CustomerLogin {
    /**
     * @Author shikundai
     * @description：客户主键ID
     */
    @TableId(value = "CUSTOMER_ID",type = IdType.ASSIGN_ID)
    private String customerId;
    /**
     * @author shikundai
     * @date 2020/10/20
     * @time 9:57
     * @description 登录用户名
     */
    @TableField("LOGIN_NAME")
    private String loginName;
    /**
     * @author: shikundai
     * @date: 2020/10/20
     * @time: 9:57
     * @Description: 登录密码（加密）
     */
    @TableField("PASSWORD")
    private String password;
    /**
     * @Author shikundai
     * @description： 用户状态 0，未登录 1，已登陆   默认1
     */
    @TableField("USER_STATUS")
    private Integer userStatus=1;
    /**
     * @Author shikundai
     * @description：  最后修改时间
     */
    @TableField("MODIFIED_TIME")
    private Date modifiedTime;
}
